package com.edais.rabbit;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class RabbitSendTest {
	private static final Log logger = LogFactory.getLog(RabbitSendTest.class);

	public static void main(String[] args) {
		String logInfo = "延迟队列发送消息测试-";
		String message = "hello world!" + System.currentTimeMillis();

		RabbitUtil.sendMessage(logInfo, RabbitUtil.DELAY_1M_QUENE, message);

		logger.info(" [x] Sent '" + message + "'");
	}
}